Automattic\WCShipping\LabelPurchase\LabelPurchaseService S

Total Complexity 45
Dependencies 6
Dependents 6
Total lines 469
Lines of code 255
Logical lines of code 116
Comment lines 132
Methods 10
Properties 4

Methods 10

Method Rating Maintainability Complexity Lines of code
prepare_packages_for_purchase()
A
50 13 28
get_labels_meta_from_response()
A
39 9 68
purchase_labels()
A
36 7 92
refund_label()
S
55 5 19
get_labels()
S
57 2 18
update_user_meta()
S
66 3 8
store_selected_meta()
S
63 3 10
__construct()
S
71 1 6
get_status()
S
80 1 3
update_order_label()
S
79 1 3